package com.kakarote.admin.common;

/**
 * 状态1待支付，2已取消，3超时自动取消，4支付结果确认中，5支付成功
 *
 * @author wwl
 * @date 2022/7/7 16:02
 */
public enum OrderStatusEnum {

    WAITING(1, "待支付"),
    CANCELED(2, "已取消"),
    TIME_OUT(3, "超时自动取消"),
    CONFIRMING(4, "支付结果确认中"),
    SUCCESS(5, "支付成功"),

    ;

    OrderStatusEnum(Integer status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    private final Integer status;
    private final String msg;

    public String getMsg() {
        return msg;
    }

    public Integer getStatus() {
        return status;
    }


}
